# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-nxengine
pkgver=0_git20200109
pkgrel=0
_commit="f39250e54f20c616dd4403cb8d4cab14032530b5"
pkgdesc="port of NxEngine to the libretro API"
url="https://github.com/libretro/nxengine-libretro"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/nxengine-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/nxengine-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 nxengine_libretro.so "$pkgdir"/usr/lib/libretro/nxengine_libretro.so
}

sha512sums="77135c5621405ae8168ec2a0dce1441c3c4da853270b377efaf6e6e7e2d498e96464ed8f12d05d9ccff17c3053335566f0c74047ba264b9bfc12b3e0e0749db5  libretro-nxengine-f39250e54f20c616dd4403cb8d4cab14032530b5.tar.gz"
